package com.galaxy.maven.tools.hello;

import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;

/**
 * @goal greeting
 * @phase process-sources
 */
public class GreetingMojo extends AbstractMojo {
    
    /**
     * @parameter expression="${greeting.words}" default-value="Hello World!"
     */
	private String words;

	public void execute() throws MojoExecutionException {
		System.out.println(words);
		getLog().info(words);
	}

}
